package com.atguigu.dao;

import org.springframework.stereotype.Repository;

/**
 * @author 伟哥
 * @date 2021-04-30 15:23
 *
 * ioc内的id，默认是类名的首字母小写bookDao
 *
 *
 */

//@Scope(value = "prototype")

@Repository("bookDao01")
public class BookDao {
    public void saveBook(){
        System.out.println("图书已经保存...");
    }
}



